package com.ptu.spzx.user.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;
import com.ptu.spzx.model.dto.h5.UserLoginDto;
import com.ptu.spzx.model.dto.h5.UserRegisterDto;
import com.ptu.spzx.model.dto.system.AssginStuDeptDto;
import com.ptu.spzx.model.entity.user.UserInfo;
import com.ptu.spzx.model.vo.common.Result;
import com.ptu.spzx.model.vo.h5.UserInfoVo;

import java.util.List;

public interface UserInfoService extends IService<UserInfo> {
    void register(UserRegisterDto userRegisterDto);

    String login(UserLoginDto userLoginDto);

    UserInfoVo getCurrentUserInfo(String token);

    void setClassId(List<String> stuIds,String className);

    UserInfo getStu(String stuId);

    List<UserInfo> getStuList(String className);

    void doAssignDept(AssginStuDeptDto assginStuDeptDto);

    List<String> getStuListByClass(String className);

    void setClaaNull(String className);

    PageInfo<UserInfo> getStuListByClassName(List<String> classNames,Integer pageNum,Integer pageSize);

    List<UserInfo> getStuListByAllClassName(List<String> stuIds);

}
